const to = (pa) => {
  const pb = pa.then(res => {
    return [null, res]
  }).catch(err => {
    return [err, null]
  })
  return pb
}
export default to
